/**
* Auto generated code for class 
* Generated timestamp : Sun Oct 28 22:02:19 CST 2007
*/

package com.javaeye.dengyin2000.gwtmodel.example.client.gwtr;


import pl.rmalinowski.gwtreflect.client.reflect.Constructor;
import pl.rmalinowski.gwtreflect.client.reflect.Field;
import pl.rmalinowski.gwtreflect.client.reflect.Method;
import pl.rmalinowski.gwtreflect.client.reflect.InvocationTargetException;
import pl.rmalinowski.gwtreflect.client.reflect.IllegalAccessException;
import pl.rmalinowski.gwtreflect.client.reflect.InstantiationException;


import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.JavaScriptObject;


public class Person__GWTR extends pl.rmalinowski.gwtreflect.client.reflect.Class {

	public Object newInstance() throws InstantiationException,IllegalAccessException {		
 
	
		return GWT.create(com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person.class);
	
	}
	
	public Person__GWTR() {
		super("Lcom/javaeye/dengyin2000/gwtmodel/example/client/pojo/Person;",1);
						
		// --------------------------------------------------------
		// ----		start of [  FIELDS  ] section.          
		// --------------------------------------------------------
		
		Field tmpField = null;
		
		tmpField=  new Field(this, "name", 2, "Ljava/lang/String;") {
		
			protected native Object nativeGet(Object obj) /*-{	
				return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::name;
			}-*/;
		
			protected native void nativeSet(Object obj, Object value)/*-{	
					
		obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::name = value;	 
			}-*/; 
		};
		
		fields.put("name",tmpField);

		tmpField=  new Field(this, "address", 2, "Ljava/lang/String;") {
		
			protected native Object nativeGet(Object obj) /*-{	
				return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::address;
			}-*/;
		
			protected native void nativeSet(Object obj, Object value)/*-{	
					
		obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::address = value;	 
			}-*/; 
		};
		
		fields.put("address",tmpField);

		tmpField=  new Field(this, "age", 2, "Ljava/lang/Integer;") {
		
			protected native Object nativeGet(Object obj) /*-{	
				return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::age;
			}-*/;
		
			protected native void nativeSet(Object obj, Object value)/*-{	
					
		obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::age = value;	 
			}-*/; 
		};
		
		fields.put("age",tmpField);

		tmpField=  new Field(this, "birthday", 2, "Ljava/util/Date;") {
		
			protected native Object nativeGet(Object obj) /*-{	
				return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::birthday;
			}-*/;
		
			protected native void nativeSet(Object obj, Object value)/*-{	
					
		obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::birthday = value;	 
			}-*/; 
		};
		
		fields.put("birthday",tmpField);

		tmpField=  new Field(this, "contact", 2, "Lcom/javaeye/dengyin2000/gwtmodel/example/client/pojo/Contact;") {
		
			protected native Object nativeGet(Object obj) /*-{	
				return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::contact;
			}-*/;
		
			protected native void nativeSet(Object obj, Object value)/*-{	
					
		obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::contact = value;	 
			}-*/; 
		};
		
		fields.put("contact",tmpField);

		tmpField=  new Field(this, "map", 2, "Ljava/util/Map;") {
		
			protected native Object nativeGet(Object obj) /*-{	
				return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::map;
			}-*/;
		
			protected native void nativeSet(Object obj, Object value)/*-{	
					
		obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::map = value;	 
			}-*/; 
		};
		
		fields.put("map",tmpField);
		
		// ========================================================
		// ====		end of [  FIELDS  ] section            
		// ========================================================
				
		// --------------------------------------------------------
		// ----		start of [  METHODS  ] section.          
		// --------------------------------------------------------
		
		Method tmpMethod = null;
		
		// Method java.lang.Integer getAge ( ... ) 
		tmpMethod = new Method(this, "getAge", 1,
		"Ljava/lang/Integer;",
		// "Ljava/lang/Integer;" ,
		new String[]{} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::getAge()();
		    	    	 
			}-*/;
		};
		
		addMethod(tmpMethod);

		// Method void setAge ( ... ) 
		tmpMethod = new Method(this, "setAge", 1,
		"V",
		// "V" ,
		new String[]{"Ljava/lang/Integer;"} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::setAge(Ljava/lang/Integer;)(argsArray[0]);
		    	    return @pl.rmalinowski.gwtreflect.client.reflect.types.Void::TYPE;	 
			}-*/;
		};
		
		addMethod(tmpMethod);

		// Method java.util.Date getBirthday ( ... ) 
		tmpMethod = new Method(this, "getBirthday", 1,
		"Ljava/util/Date;",
		// "Ljava/util/Date;" ,
		new String[]{} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::getBirthday()();
		    	    	 
			}-*/;
		};
		
		addMethod(tmpMethod);

		// Method void setBirthday ( ... ) 
		tmpMethod = new Method(this, "setBirthday", 1,
		"V",
		// "V" ,
		new String[]{"Ljava/util/Date;"} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::setBirthday(Ljava/util/Date;)(argsArray[0]);
		    	    return @pl.rmalinowski.gwtreflect.client.reflect.types.Void::TYPE;	 
			}-*/;
		};
		
		addMethod(tmpMethod);

		// Method com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact getContact ( ... ) 
		tmpMethod = new Method(this, "getContact", 1,
		"Lcom/javaeye/dengyin2000/gwtmodel/example/client/pojo/Contact;",
		// "Lcom/javaeye/dengyin2000/gwtmodel/example/client/pojo/Contact;" ,
		new String[]{} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::getContact()();
		    	    	 
			}-*/;
		};
		
		addMethod(tmpMethod);

		// Method void setContact ( ... ) 
		tmpMethod = new Method(this, "setContact", 1,
		"V",
		// "V" ,
		new String[]{"Lcom/javaeye/dengyin2000/gwtmodel/example/client/pojo/Contact;"} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::setContact(Lcom/javaeye/dengyin2000/gwtmodel/example/client/pojo/Contact;)(argsArray[0]);
		    	    return @pl.rmalinowski.gwtreflect.client.reflect.types.Void::TYPE;	 
			}-*/;
		};
		
		addMethod(tmpMethod);

		// Method void setMap ( ... ) 
		tmpMethod = new Method(this, "setMap", 1,
		"V",
		// "V" ,
		new String[]{"Ljava/util/Map;"} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::setMap(Ljava/util/Map;)(argsArray[0]);
		    	    return @pl.rmalinowski.gwtreflect.client.reflect.types.Void::TYPE;	 
			}-*/;
		};
		
		addMethod(tmpMethod);

		// Method java.lang.String getAddress ( ... ) 
		tmpMethod = new Method(this, "getAddress", 1,
		"Ljava/lang/String;",
		// "Ljava/lang/String;" ,
		new String[]{} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::getAddress()();
		    	    	 
			}-*/;
		};
		
		addMethod(tmpMethod);

		// Method java.lang.String getName ( ... ) 
		tmpMethod = new Method(this, "getName", 1,
		"Ljava/lang/String;",
		// "Ljava/lang/String;" ,
		new String[]{} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::getName()();
		    	    	 
			}-*/;
		};
		
		addMethod(tmpMethod);

		// Method void setName ( ... ) 
		tmpMethod = new Method(this, "setName", 1,
		"V",
		// "V" ,
		new String[]{"Ljava/lang/String;"} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::setName(Ljava/lang/String;)(argsArray[0]);
		    	    return @pl.rmalinowski.gwtreflect.client.reflect.types.Void::TYPE;	 
			}-*/;
		};
		
		addMethod(tmpMethod);

		// Method java.util.Map getMap ( ... ) 
		tmpMethod = new Method(this, "getMap", 1,
		"Ljava/util/Map;",
		// "Ljava/util/Map;" ,
		new String[]{} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::getMap()();
		    	    	 
			}-*/;
		};
		
		addMethod(tmpMethod);

		// Method void setAddress ( ... ) 
		tmpMethod = new Method(this, "setAddress", 1,
		"V",
		// "V" ,
		new String[]{"Ljava/lang/String;"} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person::setAddress(Ljava/lang/String;)(argsArray[0]);
		    	    return @pl.rmalinowski.gwtreflect.client.reflect.types.Void::TYPE;	 
			}-*/;
		};
		
		addMethod(tmpMethod);
		
		// ========================================================
		// ====		end of [  METHODS  ] section            
		// ========================================================
		
		// --------------------------------------------------------
		// ----		start of [  CONSTRUCTORS  ] section.          
		// --------------------------------------------------------
		
		Constructor tmpConstructor = null;
		
		// Constructor com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person ( ... ) 
		tmpConstructor = new Constructor(this,"com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person",1,new String[]{}) {
		    public Object newInstance(Object[] initargs) throws InvocationTargetException {    
		    	try {            
		        	return new com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person();
		        } catch (Exception ex) {
				    throw new InvocationTargetException(ex);
				}
		    }            
		};
		constructors.put("com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person", tmpConstructor);
		
		// ========================================================
		// ====		end of [  CONSTRUCTORS  ] section            
		// ========================================================
		
	}
	
	
    protected java.lang.Class getClazz() {
		return com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Person.class;
      
    }
    
    
 
    protected String getSuperClassSignature() {
        return "Lpl/rmalinowski/gwtreflect/client/test/Sample;";
    }    
    
}